package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author lubin
 * @email lubinyx@163.com
 * @date 2021-11-02 15:15:24
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity> getRelationsByBrandId(Long brandId);

    void updateBrandName(Long brandId, String name);

    List<CategoryBrandRelationEntity> getRelationsByCatId(Long catId);
}

